package com.aco.party.dao.custom;

import com.aco.party.dao.mbg.MBGRoleDao;
import com.aco.party.model.po.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDao extends MBGRoleDao {
    List<Role> getRolesByUser(@Param("userId")Long userId);

    List<Role> getAll();
}